public class Demo3 {

public static int sum(int a,int b){
    return a + b;
}


public static void main(String[] args) {
    int x = 2;
    int y = 3;

    int num = sum(x,y);

    double x1 = 2.0;
    double y1 = 3.0;

//    double num1 = sum(x1,y1);
}

}
